<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta https-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  <title>MyNewDou</title>
  <style>
    body {
      -webkit-text-size-adjust: 100% !important;
    }
  </style>
  <!-- 使用rem，需另外引入ydui.flexible.js自适应类库 -->
  <link rel="stylesheet" href="//unpkg.com/vue-ydui/dist/ydui.rem.css">
  <script src="//unpkg.com/vue-ydui/dist/ydui.flexible.js"></script>
  <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=YttX0OrqSd7u1ygAWyuC0jqLfgxcY3gI"></script>
  <script>
    (function () {
      if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
        handleFontSize();
      } else {
        document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
      }

      function handleFontSize() {
        // 设置网页字体为默认大小
        WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
        // 重写设置网页字体大小的事件
        WeixinJSBridge.on('menu:setfont', function () {
          WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
        });
      }
    })();
    //禁止iPhone手机浏览器的返回按钮
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
      WeixinJSBridge.call('hideOptionMenu');
    })
  </script>
</head>
<body>
<div id="app"></div>
</body>
</html>
